
NORMAL="\e[0m"
RED="\e[1;31m"
GREEN="\e[1;32m"
l="=========="
cp sav/poly.xml poly_test.xml
#arnoldi \
#dir=test_poly
dir=mat_mtx
#for file in $(ls $dir/); do
#for file in FEM_3D_thermal2.mtx; do
#    fixxml.sh file $dir/$file;
#    echo -e "$RED$file$NORMAL";
    #for str in chebyshev ilut none; do
    #for str in chebyshev_cnt; do
    #str=chebyshev_cnt;
    #for str2 in 5; do
        #echo -e "$RED$str$NORMAL $l$l$l$l";
        #fixxml.sh $str $str2;
        
#sed -i '/test_new/s/value="\w*"/value="$1"/' poly_test.xml
sed -i "/test_new/s/value=\"\w*\"/value=\"$1\"/" poly_test.xml
./main.exe --kokkos-num-threads=1 --xml_file=poly_test.xml ;
    #done
#done
